 /*
  * Copyright (c) 2021, 2023, yishun.cn All rights reserved.
  *
  */
 package cn.shun.entity;

 import lombok.AllArgsConstructor;
 import lombok.Data;
 import lombok.NoArgsConstructor;

 import javax.persistence.Column;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
 import javax.persistence.Table;
 import javax.print.attribute.standard.MediaSize;
 import java.time.LocalDate;

 /**
  * <p>Project: MyBatis2023 - Student
  * <p>Powered by yishun On 2023-01-30 10:50:52
  *
  * @author yishun [2465734101@qq.com]
  * @version 1.0
  * @since 17
  */
 @Data
 @AllArgsConstructor
 @NoArgsConstructor
 @Table(name = "t_student")
 public class Student {
     @Id @GeneratedValue(generator = "JDBC")
     private Integer id;
     @Column(name = "student_name")
     private String name;
     @Column(name = "addr")
     private String address;
     @Column(name = "birthday")
     private LocalDate birth;
 }
